package com.hm.oltu.repository;

import org.springframework.data.mongodb.repository.MongoRepository;

import com.hm.oltu.model.User;

public interface UserRepository extends MongoRepository<User,String>{

	User findByUsername(String username);
	
	User findById(String id);
}
